<?php
namespace app\wxadmin\controller;

use think\Controller;
use think\Request;

class Ams extends Controller
{

    function __construct(Request $request = null)
    {
        parent::__construct($request);
        if (empty(session('qywx_user')) || empty(session('cdb'))) {
            jump('/wx/login');
        }
    }

    function index()
    {
        echo 'asdas';
    }

}